package com.dayu.gulimall.service;

import com.dayu.common.to.es.SkuEsModel;

import java.io.IOException;
import java.util.List;

/**
 * @author dayu
 * @version 1.0
 * @email dayu007@foxmail.com
 * @date 2020/12/6 20:49
 * @description
 */
public interface ElaticSaveService {

    /**
     * 商品上架
     * @param esModelList
     * @return
     * @throws IOException
     */
    boolean productStatusUp(List<SkuEsModel> esModelList) throws IOException;
}
